﻿@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}


@{var seesionVar = Session["SELECTED-USER"] as SecurityApi.DataAccess.EnterpriseUser;}
@{var seesionApplication = Session["SELECTED-APPLICATION"] as SecurityApi.Model.Application;}


<div>
  
        <div style="margin-top:20px">
			@(Html.Kendo().Menu()
					.Name("UserManagementMenu")
					.Items(menu => {
                        menu.Add().Text("User Roles").Action("RoleManager", "UserRole");
                        menu.Add().Text("Membership").Action("GetMembership", "Membership", new { userId = @seesionVar.UserId });
                        menu.Add().Text("Password Reset").Action("RoleManager", "UserRole");
                        menu.Add().Text("Locking").Action("RoleManager", "UserRole");
                        menu.Add().Text("Activity").Action("RoleManager", "UserRole");

                        menu.Add()
                          .Text("Claims")
                          .Items(children =>
                          {
                              children.Add().Text("View Assigned Claims").Action("ManageClaims", "UserClaim");
                              children.Add()
                                            .Encoded(false)
                                            .Enabled(false)
                                            .Text("<hr />")
                                            .LinkHtmlAttributes(new { style = "padding:0px; margin:0px;" });

                              children.Add().Text("Assign New Claims").Action("AddNewClaimsToUser", "UserClaim");
                          });
                        
                    }))
        </div>
   
    <div id="content">                                                                        
        @RenderBody()                                  
    </div>
</div>

<style>

#myContainer 
{ 
    height: 100%;
}


#content {   
    width: 100%;
    left:0;
    top: 125px;
    bottom: 10px;
    margin-left: 10px;
    position:absolute;   
    overflow: auto;    
}

#toprow {
    width:100%;
    height:auto;
    border:#000 solid;
    float:right;
    position: relative;
}
#bottomrow {
    width:100%;
    height:auto;
    border:#000 solid;
    float:left;
    position: relative;
}

#left_column
{
    width:auto;
    float:left;
    vertical-align:central;
    font-family:Cambria;
    font-weight:200;
    color:aliceblue;
    font-size:large;
    padding-left:10px;
    padding-top: 6px;
}
#right_column
{
    width:auto;
    float:right;
}
</style>

